package com.vmj.instructions.conversions;

import com.vmj.instructions.base.NoOperandsInstruction;
import com.vmj.rtda.Frame;

/**
 * Created by yangshoujun on 2017/9/24 上午10:08.
 */
public class I2c extends NoOperandsInstruction {
    @Override
    public void execute(Frame frame) {
        int val = frame.getOperandStack().popInt();
        frame.getOperandStack().pushInt((char)val);
    }
}